head
{utils}
Show first 5 rows of a data frame
filter
{dplyr}
Filter out rows of a data frame according to logical vector
ifelse
{base}
Return a or b depending on the value of test
mean
{base}
Get mean of a vector
slice
{dplyr}
Subset rows using their positions
ungroup
{dplyr}
Resolve grouping created with “group_by”
group_by
{dplyr}
Group tibble/data.frame by a factor variable. All further tidyverse operations are performed group-wise
c
{base}
Combine values/vectors into a vector
cut
{base}
Convert Numeric to Factor
desc
{dplyr}
Arrange in descending order
str
{utils}
Get the structure of an R object
mutate
{dplyr}
Modify/create a column in a data frame
library
{base}
Load an R package
levels
{base}
Get levels of a factor
names
{base}
Retrieve names of a list/vector
setwd
{base}
Set Working Directory
factor
{base}
Create a factor
recode
{dplyr}
Recode a variable
read_excel
{readxl}
Read an Excel file
ordered
{dplyr}
Create an ordered factor
arrange
{dplyr}
Sort values of data frame according to a variable/combination of varaibles
select
{dplyr}
Select columns from a tibble/data frame
summarise
{dplyr}
collapse the dataset to a summary statistic. Usually used with group_by()
The end!